package com.kun.example.rpc;

import com.kun.example.IOrderService;

public class App 
{
    public static void main( String[] args )
    {
        RpcProxyClient rpcProxyClient = new RpcProxyClient();

        IOrderService orderService = rpcProxyClient.clientProxy(IOrderService.class,"localhost",8080);

        System.out.println(orderService.queryOrderList());

        System.out.println( "Hello World!" );
    }
}
